Optimal. Leaf size=121 \[ \frac{16 i \sqrt{e \sec (c+d x)}}{45 a^2 d \sqrt{a+i a \tan (c+d x)}}+\frac{8 i \sqrt{e \sec (c+d x)}}{45 a d (a+i a \tan (c+d x))^{3/2}}+\frac{2 i \sqrt{e \sec (c+d x)}}{9 d (a+i a \tan (c+d x))^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.219756, antiderivative size = 121, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 30, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067, Rules used = {3502, 3488} \[ \frac{16 i \sqrt{e \sec (c+d x)}}{45 a^2 d \sqrt{a+i a \tan (c+d x)}}+\frac{8 i \sqrt{e \sec (c+d x)}}{45 a d (a+i a \tan (c+d x))^{3/2}}+\frac{2 i \sqrt{e \sec (c+d x)}}{9 d (a+i a \tan (c+d x))^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3502
Rule 3488
Rubi steps
\begin{align*} \int \frac{\sqrt{e \sec (c+d x)}}{(a+i a \tan (c+d x))^{5/2}} \, dx &=\frac{2 i \sqrt{e \sec (c+d x)}}{9 d (a+i a \tan (c+d x))^{5/2}}+\frac{4 \int \frac{\sqrt{e \sec (c+d x)}}{(a+i a \tan (c+d x))^{3/2}} \, dx}{9 a}\\ &=\frac{2 i \sqrt{e \sec (c+d x)}}{9 d (a+i a \tan (c+d x))^{5/2}}+\frac{8 i \sqrt{e \sec (c+d x)}}{45 a d (a+i a \tan (c+d x))^{3/2}}+\frac{8 \int \frac{\sqrt{e \sec (c+d x)}}{\sqrt{a+i a \tan (c+d x)}} \, dx}{45 a^2}\\ &=\frac{2 i \sqrt{e \sec (c+d x)}}{9 d (a+i a \tan (c+d x))^{5/2}}+\frac{8 i \sqrt{e \sec (c+d x)}}{45 a d (a+i a \tan (c+d x))^{3/2}}+\frac{16 i \sqrt{e \sec (c+d x)}}{45 a^2 d \sqrt{a+i a \tan (c+d x)}}\\ \end{align*}
Mathematica [A] time = 0.305609, size = 85, normalized size = 0.7 \[ -\frac{i \sec ^2(c+d x) \sqrt{e \sec (c+d x)} (20 i \sin (2 (c+d x))+25 \cos (2 (c+d x))+9)}{45 a^2 d (\tan (c+d x)-i)^2 \sqrt{a+i a \tan (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.313, size = 128, normalized size = 1.1 \begin{align*}{\frac{-{\frac{2\,i}{45}}\cos \left ( dx+c \right ) \left ( 20\,i \left ( \cos \left ( dx+c \right ) \right ) ^{4}\sin \left ( dx+c \right ) -20\, \left ( \cos \left ( dx+c \right ) \right ) ^{5}+3\,i \left ( \cos \left ( dx+c \right ) \right ) ^{2}\sin \left ( dx+c \right ) +7\, \left ( \cos \left ( dx+c \right ) \right ) ^{3}+8\,i\sin \left ( dx+c \right ) -4\,\cos \left ( dx+c \right ) \right ) }{d{a}^{3}}\sqrt{{\frac{e}{\cos \left ( dx+c \right ) }}}\sqrt{{\frac{a \left ( i\sin \left ( dx+c \right ) +\cos \left ( dx+c \right ) \right ) }{\cos \left ( dx+c \right ) }}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.88968, size = 176, normalized size = 1.45 \begin{align*} \frac{\sqrt{e}{\left (5 i \, \cos \left (\frac{9}{2} \, d x + \frac{9}{2} \, c\right ) + 18 i \, \cos \left (\frac{5}{9} \, \arctan \left (\sin \left (\frac{9}{2} \, d x + \frac{9}{2} \, c\right ), \cos \left (\frac{9}{2} \, d x + \frac{9}{2} \, c\right )\right )\right ) + 45 i \, \cos \left (\frac{1}{9} \, \arctan \left (\sin \left (\frac{9}{2} \, d x + \frac{9}{2} \, c\right ), \cos \left (\frac{9}{2} \, d x + \frac{9}{2} \, c\right )\right )\right ) + 5 \, \sin \left (\frac{9}{2} \, d x + \frac{9}{2} \, c\right ) + 18 \, \sin \left (\frac{5}{9} \, \arctan \left (\sin \left (\frac{9}{2} \, d x + \frac{9}{2} \, c\right ), \cos \left (\frac{9}{2} \, d x + \frac{9}{2} \, c\right )\right )\right ) + 45 \, \sin \left (\frac{1}{9} \, \arctan \left (\sin \left (\frac{9}{2} \, d x + \frac{9}{2} \, c\right ), \cos \left (\frac{9}{2} \, d x + \frac{9}{2} \, c\right )\right )\right )\right )}}{90 \, a^{\frac{5}{2}} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.87818, size = 262, normalized size = 2.17 \begin{align*} \frac{\sqrt{\frac{a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}} \sqrt{\frac{e}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}}{\left (45 i \, e^{\left (6 i \, d x + 6 i \, c\right )} + 63 i \, e^{\left (4 i \, d x + 4 i \, c\right )} + 23 i \, e^{\left (2 i \, d x + 2 i \, c\right )} + 5 i\right )} e^{\left (-\frac{9}{2} i \, d x - \frac{9}{2} i \, c\right )}}{90 \, a^{3} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{e \sec \left (d x + c\right )}}{{\left (i \, a \tan \left (d x + c\right ) + a\right )}^{\frac{5}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]